﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:HabilisDesign_Iota="clr-namespace:HabilisDesign.Iota;assembly=Core"
    x:Class="HabilisDesign.Iota.SettingsWindow"
    Title="Settings" Height="300" Width="300"
    WindowStyle="None" ShowInTaskbar="False" Style="{DynamicResource BaseWindow}" AllowsTransparency="True" MouseDown="BeginMove" ResizeMode="NoResize" WindowStartupLocation="CenterOwner">
	<Border Width="Auto" Height="Auto" Background="{DynamicResource MainBGBrush}" BorderBrush="#FF000000" BorderThickness="3,3,3,3" CornerRadius="8,8,8,8" Padding="5,5,5,5">
		<Grid Width="Auto" Height="Auto">
			<TextBox Height="Auto" Margin="70,13.362,17,0" x:Name="txtUsername" VerticalAlignment="Top" Style="{DynamicResource StatusUpdateBox}" TabIndex="0" Text="Testing0322" TextChanged="OnTextChanged"/>
			<PasswordBox Height="Auto" Margin="70,55,17,0" VerticalAlignment="Top" x:Name="txtPassword" Style="{DynamicResource UserPasswordBox}" TabIndex="1" Password="testing" PasswordChanged="OnValueChanged"/>
			<Button Height="23" Margin="150,0,70,15" x:Name="button1" VerticalAlignment="Bottom" Content="Cancel" IsCancel="True" HorizontalAlignment="Stretch" Width="Auto" />
			<Button Height="23" Margin="70,0,150,15" x:Name="button2" VerticalAlignment="Bottom" IsDefault="True" Content="Ok" Click="UpdateSettings"/>
			<Label HorizontalAlignment="Left" Margin="6.027,11.362,0,0" x:Name="lblUsername" VerticalAlignment="Top" Width="Auto" Height="Auto" Foreground="#FFFFFFFF" Content="Username:"/>
			<Label HorizontalAlignment="Left" Margin="9,53,0,0" x:Name="lblPassword" VerticalAlignment="Top" Width="Auto" Height="Auto" Foreground="#FFFFFFFF" Content="Password:"/>
			<Slider d:LayoutOverrides="Height" Margin="40,130,40,133" x:Name="PollingPeriod" Style="{DynamicResource SliderStyle}" Background="{DynamicResource MainBGBrush}" Foreground="{DynamicResource ElementBorderHighlightBrush}" LargeChange="30" Maximum="300" Minimum="30" Value="30" AutoToolTipPlacement="TopLeft" Interval="30" IsSnapToTickEnabled="True" TickFrequency="30" TickPlacement="None" ValueChanged="OnValueChanged" TabIndex="3"/>
			<Label x:Name="lblPollingPeriod" Width="Auto" Height="Auto" Foreground="#FFFFFFFF" Content="Polling Period: (sec)" HorizontalAlignment="Left" Margin="8,90.723,0,0" VerticalAlignment="Top"/>
		</Grid>
	</Border>
</Window>
